package com.ymall.common;

/**
 * Created by EvenLee on 2017/5/20.
 */
public class Const {

    public static final String CURRENT_USER = "currentUser";

    public static final String EAMIL = "email";
    public static final String USERNAME = "username";


    /***
     * <p>ROLE_CUSTOMER:0 客户 ROLE_ADMIN：1 管理员 </p>
     */
    public interface ROLE{
        int ROLE_CUSTOMER = 0;
        int ROLE_ADMIN = 1;
    }

    public interface REDIS_LOCK{
        String CLOSE_ORDER_TASK_LOCK = "CLOSE_ORDER_TASK_LOCK"; //关闭订单分布式锁
    }
}
